﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;

namespace DAL
{
    public class Product
    {
        
        public int ProductId { get ; set; }
        public string Name { get; set; }
        public decimal Price { get; set; }
        [System.ComponentModel.Browsable(false)]
        public string Description { get; set; }
        
        [Column(TypeName = "image")]
        public byte[] Image { get; set; }

        public ProductCategory Category { get; set; }

    }
}
